package com.movie.api.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collections;
import java.util.List;

@RestController
@RequestMapping("/api")
public class CommonController {
    @GetMapping("/jenkins")
    public List<String> sayHello(){
        return Collections.singletonList( "hello jenkins v1");
    }
}
